public class bc {
    public static void main(String[] args) {
        for (int j = 1; j <= 10; j++) {
            if (j == 5) {
                break;
            }
            System.out.println(j);
            System.out.println();
        }
        for (int j = 1; j <= 10; j++) {
            if (j == 5) {
                continue;
            }
            System.out.println(j);
        }
        back1:
        for(int i= 0;i<10;i++){
            back2:
            for(int j=0;j<10;j++){
                if(j==5){
                    continue back2;
                }
            }
            System.out.println("test");
        }

    }
}
